%h1 Edit Comment

= form_for @comment, url: {action: "update"} do |f|
  %p
    = f.label :title
    = f.text_field :title
  %p
    = f.label :content
    = f.text_area :content
  %p
    = f.submit 'Save'

 

= link_to 'Back', comments_path

